package com.east.dao;

import com.east.bean.TaskImage;
import com.east.utils.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TaskImageMapper extends BaseMapper<TaskImage> {

    /**
     * 根据任务id查询
     * @param taskId
     * @return
     */
    List<TaskImage> selectByTask(@Param("taskId") Integer taskId);

    /**
     * 根据任务id删除
     * @param taskId
     * @return
     */
    int deleteByTask(@Param("taskId") Integer taskId);

}